import axios from 'axios'

const rootUrl = '/webArticles'

export function getCallBids(id, token) {
  const url = rootUrl

  return axios({
    method: 'GET',
    url: `${url}/${id}`,
    // headers: {
    //   'Authorization': `Bearer ${token}\n`
    // }
  }).then((res) => {
    return Promise.resolve(res.data)
  }).catch((err) => {
    return Promise.reject(err)
  })
}
